package com.share.netdisk.reclaim.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("reclaim")
public class Reclaim {

	@TableId(value="reclaim_id",type = IdType.AUTO)
	private Integer reclaimId;

	@TableField("home_file_id")
	private Integer homeFileId; // 用户ID即根目录ID

	@TableField("file_id")
	private Integer fileId;

	@TableField("reclaim_status")
	private int reclaimStatus;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@TableField("create_time")
	private Date createTime;

	@JsonFormat(pattern = "yyyy-MM-dd")
	@TableField("update_time")
	private Date updateTime;

}
